namespace MyBlog.DataEntity
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;

    public partial class Tbl_ArticleComment
    {
        public Tbl_ArticleComment()
        {
            ArticleComments = new HashSet<Tbl_ArticleComment>();
        }

        public int ID { get; set; }

        public int? ParentID { set; get; }

        public virtual Tbl_ArticleComment Parent { set; get; }

        public int ArticleId { get; set; }

        [StringLength(50)]
        public string VisitorName { get; set; }

        [StringLength(50)]
        public string VisitorIP { get; set; }

        [StringLength(50)]
        public string CommentUid { set; get; }

        [Required]
        public string Content { get; set; }

        public DateTime CommentTime { get; set; }

        public string AgreeUsers { get; set; }

        public virtual Tbl_Article Tbl_Article { get; set; }

        public virtual ICollection<Tbl_ArticleComment> ArticleComments { set; get; }

    }
}
